auto merge of #1085 : geomaster/cargo/master, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 25 Dec 2014 00:13:40 +0000 (00:13 +0000)
committerbors <bors@rust-lang.org>
Thu, 25 Dec 2014 00:13:40 +0000 (00:13 +0000)
rust-lang/rust#19253 and rust-lang/rust@25f8051 have introduced changes
to the namespacing within the std::collections::hash_map, breaking some
of Cargo code which imported these.

rust-lang/rust@cf350ea, implementing changes proposed by RFC #344, have
also broken some code which relies on hash_set::SetItems (now renamed to
hash_set::Iter).

This PR fixes the incompatibilities: imports of
std::collections::hash_map::{Occupied, Vacant} have been replaced by
imports of std::collections::hash_map::Entry::{Occupied, Vacant} and one
instance where the SetItems has been used was replaced by the proper
usage of Iter.

1  2 
src/cargo/util/config.rs

Simple merge